//
//  UIView+category.h
//  NeedYouPower
//
//  Created by XD-XY on 6/27/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (category)

//背景是颜色
+(id)initViewRect:(CGRect)rect andBackGroudColor:(UIColor *)color;

//背景是图片
+(id)initViewRect:(CGRect)rect andBackGroudImage:(UIImage *)image;
@end
